<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: PoolingLayerInfo Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Compute Library
   &#160;<span id="projectnumber">18.05</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.xhtml"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classarm__compute_1_1_pooling_layer_info.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">PoolingLayerInfo Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Pooling Layer Information class.  
 <a href="classarm__compute_1_1_pooling_layer_info.xhtml#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a21d59f266df349880afd6143469c8f29"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a21d59f266df349880afd6143469c8f29">PoolingLayerInfo</a> ()</td></tr>
<tr class="memdesc:a21d59f266df349880afd6143469c8f29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor.  <a href="#a21d59f266df349880afd6143469c8f29">More...</a><br /></td></tr>
<tr class="separator:a21d59f266df349880afd6143469c8f29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa25aa7643090ded846262cc2edfe8637"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#aa25aa7643090ded846262cc2edfe8637">PoolingLayerInfo</a> (<a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a> <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a7e8311a3a774bceb8efae1d5c8c8aeff">pool_type</a>, unsigned int <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a8ec75d4a941a9762431094479527f954">pool_size</a>, <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a3c82dfc72060f59eccf0bd096b81c5d5">pad_stride_info</a>=<a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a>(), bool <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a078456fcb5fe2091665e52e650cd46c6">exclude_padding</a>=false)</td></tr>
<tr class="memdesc:aa25aa7643090ded846262cc2edfe8637"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor.  <a href="#aa25aa7643090ded846262cc2edfe8637">More...</a><br /></td></tr>
<tr class="separator:aa25aa7643090ded846262cc2edfe8637"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a848fab9628f7dc2a187c03610fc9fa01"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a848fab9628f7dc2a187c03610fc9fa01">PoolingLayerInfo</a> (<a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a> <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a7e8311a3a774bceb8efae1d5c8c8aeff">pool_type</a>, <a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a> <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a8ec75d4a941a9762431094479527f954">pool_size</a>, <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a3c82dfc72060f59eccf0bd096b81c5d5">pad_stride_info</a>=<a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a>(), bool <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a078456fcb5fe2091665e52e650cd46c6">exclude_padding</a>=false)</td></tr>
<tr class="memdesc:a848fab9628f7dc2a187c03610fc9fa01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor.  <a href="#a848fab9628f7dc2a187c03610fc9fa01">More...</a><br /></td></tr>
<tr class="separator:a848fab9628f7dc2a187c03610fc9fa01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a825657ba220662927b90d1ca2c19fbd7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a825657ba220662927b90d1ca2c19fbd7">PoolingLayerInfo</a> (<a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a> <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a7e8311a3a774bceb8efae1d5c8c8aeff">pool_type</a>)</td></tr>
<tr class="memdesc:a825657ba220662927b90d1ca2c19fbd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor.  <a href="#a825657ba220662927b90d1ca2c19fbd7">More...</a><br /></td></tr>
<tr class="separator:a825657ba220662927b90d1ca2c19fbd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e8311a3a774bceb8efae1d5c8c8aeff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a7e8311a3a774bceb8efae1d5c8c8aeff">pool_type</a> () const </td></tr>
<tr class="memdesc:a7e8311a3a774bceb8efae1d5c8c8aeff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the pooling type.  <a href="#a7e8311a3a774bceb8efae1d5c8c8aeff">More...</a><br /></td></tr>
<tr class="separator:a7e8311a3a774bceb8efae1d5c8c8aeff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ec75d4a941a9762431094479527f954"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a8ec75d4a941a9762431094479527f954">pool_size</a> () const </td></tr>
<tr class="memdesc:a8ec75d4a941a9762431094479527f954"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the pooling size.  <a href="#a8ec75d4a941a9762431094479527f954">More...</a><br /></td></tr>
<tr class="separator:a8ec75d4a941a9762431094479527f954"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c82dfc72060f59eccf0bd096b81c5d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a3c82dfc72060f59eccf0bd096b81c5d5">pad_stride_info</a> () const </td></tr>
<tr class="memdesc:a3c82dfc72060f59eccf0bd096b81c5d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the padding and stride.  <a href="#a3c82dfc72060f59eccf0bd096b81c5d5">More...</a><br /></td></tr>
<tr class="separator:a3c82dfc72060f59eccf0bd096b81c5d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a078456fcb5fe2091665e52e650cd46c6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a078456fcb5fe2091665e52e650cd46c6">exclude_padding</a> () const </td></tr>
<tr class="memdesc:a078456fcb5fe2091665e52e650cd46c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if padding is excluded in calculations.  <a href="#a078456fcb5fe2091665e52e650cd46c6">More...</a><br /></td></tr>
<tr class="separator:a078456fcb5fe2091665e52e650cd46c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a658e806b42869826f29b9288505da774"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a658e806b42869826f29b9288505da774">is_global_pooling</a> () const </td></tr>
<tr class="memdesc:a658e806b42869826f29b9288505da774"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if is global pooling.  <a href="#a658e806b42869826f29b9288505da774">More...</a><br /></td></tr>
<tr class="separator:a658e806b42869826f29b9288505da774"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Pooling Layer Information class. </p>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00688">688</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a21d59f266df349880afd6143469c8f29"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml">PoolingLayerInfo</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default Constructor. </p>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00692">692</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;        : _pool_type(<a class="code" href="namespacearm__compute.xhtml#adf2ced65e536375a1c96425d9fced858a26a4b44a837bf97b972628509912b4a5">PoolingType::MAX</a>), _pool_size(Size2D()), _pad_stride_info(PadStrideInfo()), _exclude_padding(<span class="keyword">false</span>), _is_global_pooling(<span class="keyword">false</span>)</div><div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;    {</div><div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;    }</div><div class="ttc" id="namespacearm__compute_xhtml_adf2ced65e536375a1c96425d9fced858a26a4b44a837bf97b972628509912b4a5"><div class="ttname"><a href="namespacearm__compute.xhtml#adf2ced65e536375a1c96425d9fced858a26a4b44a837bf97b972628509912b4a5">arm_compute::NonLinearFilterFunction::MAX</a></div><div class="ttdoc">Non linear dilate. </div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aa25aa7643090ded846262cc2edfe8637"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml">PoolingLayerInfo</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a>&#160;</td>
          <td class="paramname"><em>pool_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pool_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a>&#160;</td>
          <td class="paramname"><em>pad_stride_info</em> = <code><a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>exclude_padding</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pool_type</td><td>Pooling type <a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a>. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">pool_size</td><td>Pooling size, in elements, across x and y. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">pad_stride_info</td><td>(Optional) Padding and stride information <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">exclude_padding</td><td>(Optional) Strategy when accounting padding in calculations. True will exclude padding while false will not (Used in AVG/L2 pooling to determine the pooling area). Defaults to false; </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00705">705</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;        : _pool_type(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a7e8311a3a774bceb8efae1d5c8c8aeff">pool_type</a>), _pool_size(Size2D(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a8ec75d4a941a9762431094479527f954">pool_size</a>, <a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a8ec75d4a941a9762431094479527f954">pool_size</a>)), _pad_stride_info(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a3c82dfc72060f59eccf0bd096b81c5d5">pad_stride_info</a>), _exclude_padding(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a078456fcb5fe2091665e52e650cd46c6">exclude_padding</a>), _is_global_pooling(<span class="keyword">false</span>)</div><div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;    {</div><div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_a8ec75d4a941a9762431094479527f954"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#a8ec75d4a941a9762431094479527f954">arm_compute::PoolingLayerInfo::pool_size</a></div><div class="ttdeci">const Size2D &amp; pool_size() const </div><div class="ttdoc">Get the pooling size. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00744">Types.h:744</a></div></div>
<div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_a3c82dfc72060f59eccf0bd096b81c5d5"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#a3c82dfc72060f59eccf0bd096b81c5d5">arm_compute::PoolingLayerInfo::pad_stride_info</a></div><div class="ttdeci">PadStrideInfo pad_stride_info() const </div><div class="ttdoc">Get the padding and stride. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00749">Types.h:749</a></div></div>
<div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_a078456fcb5fe2091665e52e650cd46c6"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#a078456fcb5fe2091665e52e650cd46c6">arm_compute::PoolingLayerInfo::exclude_padding</a></div><div class="ttdeci">bool exclude_padding() const </div><div class="ttdoc">Check if padding is excluded in calculations. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00754">Types.h:754</a></div></div>
<div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_a7e8311a3a774bceb8efae1d5c8c8aeff"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#a7e8311a3a774bceb8efae1d5c8c8aeff">arm_compute::PoolingLayerInfo::pool_type</a></div><div class="ttdeci">PoolingType pool_type() const </div><div class="ttdoc">Get the pooling type. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00739">Types.h:739</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a848fab9628f7dc2a187c03610fc9fa01"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml">PoolingLayerInfo</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a>&#160;</td>
          <td class="paramname"><em>pool_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a>&#160;</td>
          <td class="paramname"><em>pool_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a>&#160;</td>
          <td class="paramname"><em>pad_stride_info</em> = <code><a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>exclude_padding</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pool_type</td><td>Pooling type <a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a>. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">pool_size</td><td>Pooling size, in elements, across x and y. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">pad_stride_info</td><td>(Optional) Padding and stride information <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">exclude_padding</td><td>(Optional) Strategy when accounting padding in calculations. True will exclude padding while false will not (Used in AVG/L2 pooling to determine the pooling area). Defaults to false; </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00721">721</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;        : _pool_type(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a7e8311a3a774bceb8efae1d5c8c8aeff">pool_type</a>), _pool_size(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a8ec75d4a941a9762431094479527f954">pool_size</a>), _pad_stride_info(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a3c82dfc72060f59eccf0bd096b81c5d5">pad_stride_info</a>), _exclude_padding(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a078456fcb5fe2091665e52e650cd46c6">exclude_padding</a>), _is_global_pooling(<span class="keyword">false</span>)</div><div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;    {</div><div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_a8ec75d4a941a9762431094479527f954"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#a8ec75d4a941a9762431094479527f954">arm_compute::PoolingLayerInfo::pool_size</a></div><div class="ttdeci">const Size2D &amp; pool_size() const </div><div class="ttdoc">Get the pooling size. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00744">Types.h:744</a></div></div>
<div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_a3c82dfc72060f59eccf0bd096b81c5d5"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#a3c82dfc72060f59eccf0bd096b81c5d5">arm_compute::PoolingLayerInfo::pad_stride_info</a></div><div class="ttdeci">PadStrideInfo pad_stride_info() const </div><div class="ttdoc">Get the padding and stride. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00749">Types.h:749</a></div></div>
<div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_a078456fcb5fe2091665e52e650cd46c6"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#a078456fcb5fe2091665e52e650cd46c6">arm_compute::PoolingLayerInfo::exclude_padding</a></div><div class="ttdeci">bool exclude_padding() const </div><div class="ttdoc">Check if padding is excluded in calculations. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00754">Types.h:754</a></div></div>
<div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_a7e8311a3a774bceb8efae1d5c8c8aeff"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#a7e8311a3a774bceb8efae1d5c8c8aeff">arm_compute::PoolingLayerInfo::pool_type</a></div><div class="ttdeci">PoolingType pool_type() const </div><div class="ttdoc">Get the pooling type. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00739">Types.h:739</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a825657ba220662927b90d1ca2c19fbd7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml">PoolingLayerInfo</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a>&#160;</td>
          <td class="paramname"><em>pool_type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default Constructor. </p>
<dl class="section note"><dt>Note</dt><dd>This constructor is used for global pooling</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pool_type</td><td>Pooling type <a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a>. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00734">734</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;        : _pool_type(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a7e8311a3a774bceb8efae1d5c8c8aeff">pool_type</a>), _pool_size(Size2D()), _pad_stride_info(PadStrideInfo(1, 1, 0, 0)), _exclude_padding(<span class="keyword">false</span>), _is_global_pooling(<span class="keyword">true</span>)</div><div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160;    {</div><div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_a7e8311a3a774bceb8efae1d5c8c8aeff"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#a7e8311a3a774bceb8efae1d5c8c8aeff">arm_compute::PoolingLayerInfo::pool_type</a></div><div class="ttdeci">PoolingType pool_type() const </div><div class="ttdoc">Get the pooling type. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00739">Types.h:739</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a078456fcb5fe2091665e52e650cd46c6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool exclude_padding </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Check if padding is excluded in calculations. </p>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00754">754</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>

<p>Referenced by <a class="el" href="validation_2reference_2_pooling_layer_8cpp_source.xhtml#l00042">arm_compute::test::validation::reference::pooling_layer()</a>.</p>
<div class="fragment"><div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;    {</div><div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;        <span class="keywordflow">return</span> _exclude_padding;</div><div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a658e806b42869826f29b9288505da774"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool is_global_pooling </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Check if is global pooling. </p>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00759">759</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>

<p>Referenced by <a class="el" href="_shape_calculator_8h_source.xhtml#l00329">arm_compute::misc::shape_calculator::compute_pool_shape()</a>, <a class="el" href="validation_2reference_2_pooling_layer_8cpp_source.xhtml#l00042">arm_compute::test::validation::reference::pooling_layer()</a>, and <a class="el" href="utils_2_type_printer_8h_source.xhtml#l01098">arm_compute::to_string()</a>.</p>
<div class="fragment"><div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;    {</div><div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;        <span class="keywordflow">return</span> _is_global_pooling;</div><div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a3c82dfc72060f59eccf0bd096b81c5d5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> pad_stride_info </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the padding and stride. </p>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00749">749</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>

<p>Referenced by <a class="el" href="_shape_calculator_8h_source.xhtml#l00329">arm_compute::misc::shape_calculator::compute_pool_shape()</a>, <a class="el" href="validation_2reference_2_pooling_layer_8cpp_source.xhtml#l00042">arm_compute::test::validation::reference::pooling_layer()</a>, and <a class="el" href="utils_2_type_printer_8h_source.xhtml#l01098">arm_compute::to_string()</a>.</p>
<div class="fragment"><div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;    {</div><div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;        <span class="keywordflow">return</span> _pad_stride_info;</div><div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a8ec75d4a941a9762431094479527f954"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a>&amp; pool_size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the pooling size. </p>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00744">744</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>

<p>Referenced by <a class="el" href="_shape_calculator_8h_source.xhtml#l00329">arm_compute::misc::shape_calculator::compute_pool_shape()</a>, <a class="el" href="validation_2reference_2_pooling_layer_8cpp_source.xhtml#l00042">arm_compute::test::validation::reference::pooling_layer()</a>, and <a class="el" href="utils_2_type_printer_8h_source.xhtml#l01098">arm_compute::to_string()</a>.</p>
<div class="fragment"><div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;    {</div><div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;        <span class="keywordflow">return</span> _pool_size;</div><div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a7e8311a3a774bceb8efae1d5c8c8aeff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a> pool_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the pooling type. </p>

<p>Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00739">739</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p>

<p>Referenced by <a class="el" href="utils_2_type_printer_8h_source.xhtml#l00452">arm_compute::operator&lt;&lt;()</a>, <a class="el" href="validation_2reference_2_pooling_layer_8cpp_source.xhtml#l00042">arm_compute::test::validation::reference::pooling_layer()</a>, and <a class="el" href="utils_2_type_printer_8h_source.xhtml#l01098">arm_compute::to_string()</a>.</p>
<div class="fragment"><div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;    {</div><div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;        <span class="keywordflow">return</span> _pool_type;</div><div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>arm_compute/core/<a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml">PoolingLayerInfo</a></li>
    <li class="footer">Generated on Wed May 23 2018 11:36:43 for Compute Library by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
